Trading Partner Archiving tab
Use the Archiving tab to archive documents that pass through a trading partner. The runtime writes archived files to a local directory on the machine where the runtime runs.
The archiving options are similar to connector operation archiving settings. Trading partner components handle both inbound and outbound documents, so the tab has a separate directory setting for each.

Archiving in processes where trading partners share a communication channel
When trading partners share a communication channel in a process, the Runtime archives documents based on the first trading partner in the channel. Archiving occurs only if you select Archive document data that passes through this trading partner on the Archiving tab of that first trading partner. Use the following rules to find the archive directory and filename prefix:
- Processing group: The first trading partner in the processing group's routing table provides the archive directory. The filename prefix is the trading partner component name.
- No processing group: The first trading partner in the process XML for the step provides the archive directory. The filename prefix is the trading partner component name.
If the first trading partner that shares the channel doesn't have Archive document data that passes through this trading partner selected, the Runtime archives none of the documents that trading partners sharing the channel process. This applies even if other trading partners select the option.
To archive all documents for trading partners that share a channel, select Archive document data that passes through this trading partner on the Archiving tab of the Communication Channel component. The Runtime then archives every document that trading partners sharing the channel process, regardless of each trading partner's setting. The archive directory is the one set on that tab, and the filename prefix is the Communication Channel component name.
Custom archiving logic
If the trading partner and Communication Channel settings don't meet your needs, use custom archiving logic instead. Enable it in your process:
- For inbound interchanges, select Archiving in the Trading Partner Start step.
- For outbound interchanges, select Archiving in the Trading Partner step.